﻿<%@ Page Language="C#"   MasterPageFile="~/View/Shared/RightFrame.Master" AutoEventWireup="true" CodeBehind="Account.aspx.cs" Inherits="Hisun.View.Admin.Account"%>
<asp:Content ID="Content2" ContentPlaceHolderID="contentHolder" runat="server">
    <asp:ListView ID="ListView1" runat="server" SkinID="GridView">
        <ItemTemplate>
            <tr style="">
                <td>
                    <a href='AccountControlPanel.aspx?operatorID=<%# Eval("操作员ID") %>'><%# Eval("操作员ID") %></a>
                </td>
                <td>
                    <asp:Label ID="操作员姓名Label" runat="server" Text='<%# Eval("操作员姓名") %>' />
                </td>
                <td>
                    <asp:Label ID="责任部门IDLabel" runat="server" Text='<%# Eval("责任部门ID") %>' />
                </td>
                <td>
                    <asp:Label ID="修改时间Label" runat="server" Text='<%# Eval("修改时间") %>' />
                </td>
            </tr>
        </ItemTemplate>
        <EmptyDataTemplate>
            <table runat="server" style="">
                <tr>
                    <td>
                        No data was returned.</td>
                </tr>
            </table>
        </EmptyDataTemplate>
        <InsertItemTemplate>
            <tr style="">
                <td>
                    <asp:Button ID="InsertButton" runat="server" CommandName="Insert" 
                        Text="Insert" />
                    <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                        Text="Clear" />
                </td>
                <td>
                    <asp:TextBox ID="操作员IDTextBox" runat="server" Text='<%# Bind("操作员ID") %>' />
                </td>
                <td>
                    <asp:TextBox ID="操作员姓名TextBox" runat="server" Text='<%# Bind("操作员姓名") %>' />
                </td>
                <td>
                    <asp:TextBox ID="责任部门IDTextBox" runat="server" Text='<%# Bind("责任部门ID") %>' />
                </td>
                <td>
                    <asp:TextBox ID="修改时间TextBox" runat="server" Text='<%# Bind("修改时间") %>' />
                </td>
            </tr>
        </InsertItemTemplate>
        <LayoutTemplate>
            <table runat="server">
                <tr runat="server">
                    <td runat="server">
                        <table ID="itemPlaceholderContainer" runat="server" border="0" style="">
                            <tr runat="server" style="">
                                <th runat="server">
                                    操作员ID</th>
                                <th runat="server">
                                    操作员姓名</th>
                                <th runat="server">
                                    责任部门ID</th>
                                <th runat="server">
                                    修改时间</th>
                            </tr>
                            <tr ID="itemPlaceholder" runat="server">
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr runat="server">
                    <td runat="server" style="">
                        <asp:DataPager ID="DataPager1" runat="server">
                            <Fields>
                                <asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" 
                                    ShowLastPageButton="True" />
                            </Fields>
                        </asp:DataPager>
                    </td>
                </tr>
            </table>
        </LayoutTemplate>
        <EditItemTemplate>
            <tr style="">
                <td>
                    <asp:Button ID="UpdateButton" runat="server" CommandName="Update" 
                        Text="Update" />
                    <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                        Text="Cancel" />
                </td>
                <td>
                    <asp:TextBox ID="操作员IDTextBox" runat="server" Text='<%# Bind("操作员ID") %>' />
                </td>
                <td>
                    <asp:TextBox ID="操作员姓名TextBox" runat="server" Text='<%# Bind("操作员姓名") %>' />
                </td>
                <td>
                    <asp:TextBox ID="责任部门IDTextBox" runat="server" Text='<%# Bind("责任部门ID") %>' />
                </td>
                <td>
                    <asp:TextBox ID="修改时间TextBox" runat="server" Text='<%# Bind("修改时间") %>' />
                </td>
            </tr>
        </EditItemTemplate>
        <SelectedItemTemplate>
            <tr style="">
                <td>
                    <asp:Label ID="操作员IDLabel" runat="server" Text='<%# Eval("操作员ID") %>' />
                </td>
                <td>
                    <asp:Label ID="操作员姓名Label" runat="server" Text='<%# Eval("操作员姓名") %>' />
                </td>
                <td>
                    <asp:Label ID="责任部门IDLabel" runat="server" Text='<%# Eval("责任部门ID") %>' />
                </td>
                <td>
                    <asp:Label ID="修改时间Label" runat="server" Text='<%# Eval("修改时间") %>' />
                </td>
            </tr>
        </SelectedItemTemplate>
    </asp:ListView>

    <br />
    <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
    <asp:Button ID="btnSearch" runat="server" Text="Search" />

</asp:Content>
